﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ITSTOREBLL;

namespace ITStore.Controllers
{
    public class LichSuMuaHangController : Controller
    {
        //
        // GET: /LichSuMuaHang/
        private ITStoreEntities db = new ITStoreEntities();
        public ActionResult Index()
        {
            var tt = from t in db.DonHangs
                     where t.dh_TaiKhoan == @User.Identity.Name
                     select t;
            return View(tt.ToList());
        }

    }
}
